package com.zmn.oms.persistence.interfaces.conf.attachment;


import com.zmn.oms.model.entity.conf.attachment.ConfOrderAttachmentCategory;
import com.zmn.oms.model.entity.conf.attachment.ConfOrderAttachmentCategoryQuery;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ConfOrderAttachmentCategoryDao {

    List<ConfOrderAttachmentCategory> listByQuery(ConfOrderAttachmentCategoryQuery query);

    List<ConfOrderAttachmentCategory> listByIds(@Param("idList") List<Integer> idList);

    List<ConfOrderAttachmentCategory> listPageByQuery(ConfOrderAttachmentCategoryQuery query);

    int countByQuery(ConfOrderAttachmentCategoryQuery query);

    int insert(ConfOrderAttachmentCategory record);

    int insertSelective(ConfOrderAttachmentCategory record);

    ConfOrderAttachmentCategory selectByPrimaryKey(Integer categId);

    int updateByPrimaryKeySelective(ConfOrderAttachmentCategory record);

    int updateByPrimaryKey(ConfOrderAttachmentCategory record);

    Integer batchModifyCategoryStatus(@Param("conf") ConfOrderAttachmentCategory conf, @Param("categIdList") List<String> categIdList);
}
